View Issue Details

IDProjectCategoryView StatusLast Update
0001550T99X171.00 SKB EagleSW Issuepublic2023-02-07 13:25
Reporter(ALTech) Younkwang Jung Assigned To(ALTech) Younkwang Jung Due Date2022-11-04 15:29
PriorityhighSeveritys4-minorReproducibilityalways
Status closedResolutionfixed 
Summary0001550: [Smart3][ATV10] HDR error when HDMI reconnect
DescriptionHi Kerwin

This is an issue that is occurring on Smart3 ATV10.
jira is
https://jira.skbroadband.com/browse/BPM-11010

The analysis result of SPTEK says that the callback function registered when HDMI-HotPlug cannot be called.
That is, the callback function registered with DISPLAY_HDMIHotPluggedCallback is not being called.

please check it

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) JunGyu Kim , (ALTech) SY Yoon

Activities

(ALTech) Younkwang Jung

2022-11-04 13:33

developer   ~0011162

HI Kerwin

Please update the progress.

Thank you
YK.Jung

(SW) Kerwin Chen

2022-11-04 13:49

developer   ~0011165

Hi YK,

We see the same issue here.
Jerry is checking for solution now.

(ALTech) Younkwang Jung

2022-11-08 08:27

developer   ~0011173

Hi Jerry

Please update the progress.
Until when can you solve this issue?

Thank you
YK.Jung

(SW) Jerry Lin

2022-11-08 08:47

developer   ~0011174

Hi YK,
I will doing some testing and fix today.

Jerry

(ALTech) Younkwang Jung

2022-11-09 10:00

developer   ~0011184

Hi Jerry

Please update the progress.

Thank you

(ALTech) Younkwang Jung

2022-11-09 10:37

developer   ~0011185

Hi Jerry

I think that it won't take long time for this issue to be fixed.
But if it takes a long time for you to fix it, please explain why it takes a long time.

Thank you!

(SW) Jerry Lin

2022-11-09 11:11

developer   ~0011186

Hi YK,
Already commit in 11/08.

Jerry

(ALTech) Younkwang Jung

2022-11-09 12:05

developer   ~0011188

HI Jerry

I checked the commit contents at bitbucket
And please put JIRA_ID at comment when you commit.

The QA team will check it

Thank you
YK.Jung

(ALTech) Younkwang Jung

2022-11-10 09:25

developer   ~0011195

HI Jerry

This is a request from SKB.
Please put JIRA ID in the commit comment.

And the issue was observed again during the verification in QA.
When you connect the USB stick to the STB and boot, the issue is being observed again.
( that is , callback function is not called )
Please check if this issue is SPTEK issue or FXN issue.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2022-11-10 10:34

developer   ~0011197

HI Jerry

And why are there some changes related to CEC? ( I don't understand. )
I have to explain this modification to SKB.
Please explain the changes related to CEC.

Thank you
YK.Jung

(SW) Jerry Lin

2022-11-10 11:35

developer   ~0011198

Hi YK,
The hdmicecd is developed by Amlogic, which includes CEC related settings and HDMI HotPulg event.
so we add this function in BTF HAL.

Jerry

(ALTech) Younkwang Jung

2022-11-10 16:36

developer   ~0011201

HI Jerry

Now that I've been testing additionally, it seems to be a timing issue.
If a USB stick is connected, the probability of an issue increases.

The reproduction method is as follows.

- Please test in serial console.
- Enter the command below as soon as you kernel boot .
  $ logcat | grep -irE "DISPLAY_SetHdmiHotpluggedListener|onCheckHdmiHotplugged"
 
     ..
  01-01 09:00:14.883 3593 3593 D Display : ++ before DISPLAY_SetHdmiHotpluggedListener
  ..
 

< OK case > There is no problem if the onCheckHdmiHotplugged log is observed whenever hdmi plug in/out
        ...
    11-10 17:11:10.449 3518 3588 D SystemControl: onTxEvent switchName:hdmi hpdstate:1 state: 1
    11-10 17:11:10.453 3518 3589 I SystemControl: SKB_VUL_TAG: hdcp version <off> hdcp state <off> rxsense <on> HPD <on>
    11-10 17:11:10.459 3535 3584 D MesonHwc: sysfs(/sys/class/amhdmitx/amhdmitx0/hpd_state) read int32_t (1)
    11-10 17:11:10.556 4851 6004 I hdrmode : onCheckHdmiHotplugged : 0 <=== OK
    11-10 17:11:10.639 3535 3584 D MesonHwc: sysfs(/sys/class/amhdmitx/amhdmitx0/hpd_state) read int32_t (1)
    11-10 17:11:10.642 3535 3584 D MesonHwc: sysfs(/sys/class/amhdmitx/amhdmitx0/hpd_state) read int32_t (1)
    11-10 17:11:10.969 3535 3584 D MesonHwc: sysfs(/sys/class/amhdmitx/amhdmitx0/hpd_state) read int32_t (1
        ...

< issue case > The onCheckHdmiHotplugged log is not observed.
        .....
    11-10 17:12:26.954 3533 3583 D MesonHwc: sysfs(/sys/class/amhdmitx/amhdmitx0/hpd_state) read int32_t (1)
    11-10 17:12:27.200 3533 3583 D MesonHwc: sysfs(/sys/class/amhdmitx/amhdmitx0/hpd_state) read int32_t (1)
    11-10 17:12:27.200 3516 3557 I SystemControl: SKB_VUL_TAG: hdcp version <14> hdcp state <on> rxsense <on> HPD <on>
    11-10 17:12:28.200 3516 3557 I SystemControl: SKB_VUL_TAG: hdcp version <14> hdcp state <on> rxsense <on> HPD <on>
    11-10 17:12:34.033 3533 3583 D MesonHwc: sysfs(/sys/class/amhdmitx/amhdmitx0/hpd_state) read int32_t (0)
    11-10 17:12:34.034 3516 3556 D SystemControl: onTxEvent switchName:hdmi hpdstate:0 state: 1
    11-10 17:12:34.034 3533 3583 D MesonHwc: sysfs(/sys/class/amhdmitx/amhdmitx0/hpd_state) read int32_t (0)
    11-10 17:12:34.034 3533 3583 D MesonHwc: sysfs(/sys/class/amhdmitx/amhdmitx0/hpd_state) read int32_t (0)
    11-10 17:12:34.034 3533 3583 D MesonHwc: sysfs(/sys/class/amhdmitx/amhdmitx0/hpd_state) read int32_t (0)
    11-10 17:12:34.035 3516 3557 I SystemControl: SKB_VUL_TAG: hdcp version <off> hdcp state <on> rxsense <on
        ....

Please check it
Thank you
YK.Jung

(ALTech) Younkwang Jung

2022-11-14 12:27

developer   ~0011218

Hi Jerry

Please update the progress.

Thank you
YK.Jung

(SW) Jerry Lin

2022-11-15 08:42

developer   ~0011226

Hi YK,
We can replicate the same situation here.
At the same time, we have changed the design(read hdmi state from cec) , and will get hdmi status by listening uevent.

Jerry

(ALTech) Younkwang Jung

2022-11-17 09:11

developer   ~0011237

HI Jerry

How long do you think you can solve this issue?
Please give me a rough schedule

Thank you
YK.Jung

(SW) Jerry Lin

2022-11-17 18:58

developer   ~0011246

Hi YK,
I upload test F/W for this issue in ALT server.
Please download and verify it.
The link is /release_by_fxn/temp_wfh/jerry/eagle/usb_bfx-at100_V15.534.29.zip
And I also updated HomeUI as UI535.

Jerry

(ALTech) Younkwang Jung

2022-11-18 08:02

developer   ~0011249

Hi Jerry

I will check and let you know the result next Monday or Tuesday.

Thank you
YK.Jung

(SW) Jerry Lin

2022-11-18 09:43

developer   ~0011250

Hi YK,
OK~ Thanks~

jerry

(ALTech) Younkwang Jung

2022-11-21 18:07

developer   ~0011268

Hi Jerry

The QA team checked it. the issue has been confirmed to be resolved.
Please commit the contents including jira ID.

Is there anything else that needs to be tested?
And please share the correction point so that I can explain it to SKB.

Thank you
YK.Jung

Issue History

Date Modified Username Field Change
2022-11-02 10:45 (ALTech) Younkwang Jung New Issue
2022-11-02 10:45 (ALTech) Younkwang Jung Status new => assigned
2022-11-02 10:45 (ALTech) Younkwang Jung Assigned To => (SW) Kerwin Chen
2022-11-02 10:45 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2022-11-02 10:45 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2022-11-02 14:30 (ALTech) Younkwang Jung Priority normal => high
2022-11-02 14:30 (ALTech) Younkwang Jung Due Date => 2022-11-04 15:29
2022-11-04 13:33 (ALTech) Younkwang Jung Note Added: 0011162
2022-11-04 13:49 (SW) Kerwin Chen Note Added: 0011165
2022-11-04 13:49 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (SW) Jerry Lin
2022-11-08 08:27 (ALTech) Younkwang Jung Note Added: 0011173
2022-11-08 08:47 (SW) Jerry Lin Note Added: 0011174
2022-11-09 10:00 (ALTech) Younkwang Jung Note Added: 0011184
2022-11-09 10:37 (ALTech) Younkwang Jung Note Added: 0011185
2022-11-09 11:11 (SW) Jerry Lin Note Added: 0011186
2022-11-09 12:05 (ALTech) Younkwang Jung Note Added: 0011188
2022-11-10 09:25 (ALTech) Younkwang Jung Note Added: 0011195
2022-11-10 10:34 (ALTech) Younkwang Jung Note Added: 0011197
2022-11-10 11:35 (SW) Jerry Lin Note Added: 0011198
2022-11-10 16:36 (ALTech) Younkwang Jung Note Added: 0011201
2022-11-14 12:27 (ALTech) Younkwang Jung Note Added: 0011218
2022-11-15 08:42 (SW) Jerry Lin Note Added: 0011226
2022-11-17 09:11 (ALTech) Younkwang Jung Note Added: 0011237
2022-11-17 18:58 (SW) Jerry Lin Note Added: 0011246
2022-11-18 08:02 (ALTech) Younkwang Jung Note Added: 0011249
2022-11-18 09:43 (SW) Jerry Lin Note Added: 0011250
2022-11-21 18:07 (ALTech) Younkwang Jung Note Added: 0011268
2022-11-24 10:12 (SW) Kerwin Chen Assigned To (SW) Jerry Lin => (ALTech) Younkwang Jung
2022-11-24 10:12 (SW) Kerwin Chen Status assigned => resolved
2022-11-24 10:12 (SW) Kerwin Chen Resolution open => fixed
2023-02-07 13:25 (ALTech) Younkwang Jung Status resolved => closed